package com.fresh.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Data
@Component
public class ImportGoods {

    @ExcelProperty(value = "名字")
    private String name;
    @ExcelProperty(value = "单位")
    private Integer unitId;
    @ExcelProperty(value = "编号")
    private String number;
    @ExcelProperty(value = "损耗比")
    private BigDecimal lossRate;
    @ExcelProperty(value = "类别")
    private Integer categoryId;
    @ExcelProperty(value = "比重")
    private String unitWeight;
    @ExcelProperty(value = "供应商")
    private Integer supplierId;
    @ExcelProperty(value = "描述")
    private String description;
    @ExcelProperty(value = "状态")
    private String status;
    @ExcelProperty(value = "价格")
    private String price;
    @ExcelProperty(value = "库存")
    private Integer stock;
    @ExcelProperty(value = "类型")
    private String type;

}
